3.32.75 \(\int \frac {(e+f x)^n}{(a+b x)^{3/2} \sqrt {c+d x}} \, dx\) [3175]

Optimal. Leaf size=121 \[ -\frac {2 \sqrt {\frac {b (c+d x)}{b c-a d}} (e+f x)^n \left (\frac {b (e+f x)}{b e-a f}\right )^{-n} F_1\left (-\frac {1}{2};\frac {1}{2},-n;\frac {1}{2};-\frac {d (a+b x)}{b c-a d},-\frac {f (a+b x)}{b e-a f}\right )}{b \sqrt {a+b x} \sqrt {c+d x}} \]

[Out]

-2*(f*x+e)^n*AppellF1(-1/2,1/2,-n,1/2,-d*(b*x+a)/(-a*d+b*c),-f*(b*x+a)/(-a*f+b*e))*(b*(d*x+c)/(-a*d+b*c))^(1/2
)/b/((b*(f*x+e)/(-a*f+b*e))^n)/(b*x+a)^(1/2)/(d*x+c)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.06, antiderivative size = 121, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.115, Rules used = {145, 144, 143} \begin {gather*} -\frac {2 (e+f x)^n \sqrt {\frac {b (c+d x)}{b c-a d}} \left (\frac {b (e+f x)}{b e-a f}\right )^{-n} F_1\left (-\frac {1}{2};\frac {1}{2},-n;\frac {1}{2};-\frac {d (a+b x)}{b c-a d},-\frac {f (a+b x)}{b e-a f}\right )}{b \sqrt {a+b x} \sqrt {c+d x}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(e + f*x)^n/((a + b*x)^(3/2)*Sqrt[c + d*x]),x]

[Out]

(-2*Sqrt[(b*(c + d*x))/(b*c - a*d)]*(e + f*x)^n*AppellF1[-1/2, 1/2, -n, 1/2, -((d*(a + b*x))/(b*c - a*d)), -((
f*(a + b*x))/(b*e - a*f))])/(b*Sqrt[a + b*x]*Sqrt[c + d*x]*((b*(e + f*x))/(b*e - a*f))^n)

Rule 143

Int[((a_) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_)*((e_.) + (f_.)*(x_))^(p_), x_Symbol] :> Simp[((a + b*x)
^(m + 1)/(b*(m + 1)*(b/(b*c - a*d))^n*(b/(b*e - a*f))^p))*AppellF1[m + 1, -n, -p, m + 2, (-d)*((a + b*x)/(b*c
- a*d)), (-f)*((a + b*x)/(b*e - a*f))], x] /; FreeQ[{a, b, c, d, e, f, m, n, p}, x] &&  !IntegerQ[m] &&  !Inte
gerQ[n] &&  !IntegerQ[p] && GtQ[b/(b*c - a*d), 0] && GtQ[b/(b*e - a*f), 0] &&  !(GtQ[d/(d*a - c*b), 0] && GtQ[
d/(d*e - c*f), 0] && SimplerQ[c + d*x, a + b*x]) &&  !(GtQ[f/(f*a - e*b), 0] && GtQ[f/(f*c - e*d), 0] && Simpl
erQ[e + f*x, a + b*x])

Rule 144

Int[((a_) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_)*((e_.) + (f_.)*(x_))^(p_), x_Symbol] :> Dist[(e + f*x)^
FracPart[p]/((b/(b*e - a*f))^IntPart[p]*(b*((e + f*x)/(b*e - a*f)))^FracPart[p]), Int[(a + b*x)^m*(c + d*x)^n*
(b*(e/(b*e - a*f)) + b*f*(x/(b*e - a*f)))^p, x], x] /; FreeQ[{a, b, c, d, e, f, m, n, p}, x] &&  !IntegerQ[m]
&&  !IntegerQ[n] &&  !IntegerQ[p] && GtQ[b/(b*c - a*d), 0] &&  !GtQ[b/(b*e - a*f), 0]

Rule 145

Int[((a_) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_)*((e_.) + (f_.)*(x_))^(p_), x_Symbol] :> Dist[(c + d*x)^
FracPart[n]/((b/(b*c - a*d))^IntPart[n]*(b*((c + d*x)/(b*c - a*d)))^FracPart[n]), Int[(a + b*x)^m*(b*(c/(b*c -
 a*d)) + b*d*(x/(b*c - a*d)))^n*(e + f*x)^p, x], x] /; FreeQ[{a, b, c, d, e, f, m, n, p}, x] &&  !IntegerQ[m]
&&  !IntegerQ[n] &&  !IntegerQ[p] &&  !GtQ[b/(b*c - a*d), 0] &&  !SimplerQ[c + d*x, a + b*x] &&  !SimplerQ[e +
 f*x, a + b*x]

Rubi steps

\begin {align*} \int \frac {(e+f x)^n}{(a+b x)^{3/2} \sqrt {c+d x}} \, dx &=\frac {\sqrt {\frac {b (c+d x)}{b c-a d}} \int \frac {(e+f x)^n}{(a+b x)^{3/2} \sqrt {\frac {b c}{b c-a d}+\frac {b d x}{b c-a d}}} \, dx}{\sqrt {c+d x}}\\ &=\frac {\left (\sqrt {\frac {b (c+d x)}{b c-a d}} (e+f x)^n \left (\frac {b (e+f x)}{b e-a f}\right )^{-n}\right ) \int \frac {\left (\frac {b e}{b e-a f}+\frac {b f x}{b e-a f}\right )^n}{(a+b x)^{3/2} \sqrt {\frac {b c}{b c-a d}+\frac {b d x}{b c-a d}}} \, dx}{\sqrt {c+d x}}\\ &=-\frac {2 \sqrt {\frac {b (c+d x)}{b c-a d}} (e+f x)^n \left (\frac {b (e+f x)}{b e-a f}\right )^{-n} F_1\left (-\frac {1}{2};\frac {1}{2},-n;\frac {1}{2};-\frac {d (a+b x)}{b c-a d},-\frac {f (a+b x)}{b e-a f}\right )}{b \sqrt {a+b x} \sqrt {c+d x}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(262\) vs. \(2(121)=242\).
time = 3.11, size = 262, normalized size = 2.17 \begin {gather*} \frac {2 \sqrt {c+d x} (e+f x)^n \left (\frac {b (e+f x)}{b e-a f}\right )^{-n} \left (-3 (b c-a d)^2 F_1\left (-\frac {1}{2};-\frac {1}{2},-n;\frac {1}{2};\frac {d (a+b x)}{-b c+a d},\frac {f (a+b x)}{-b e+a f}\right )+3 d (-b c+a d) (a+b x) F_1\left (\frac {1}{2};-\frac {1}{2},-n;\frac {3}{2};\frac {d (a+b x)}{-b c+a d},\frac {f (a+b x)}{-b e+a f}\right )+d^2 (a+b x)^2 F_1\left (\frac {3}{2};\frac {1}{2},-n;\frac {5}{2};\frac {d (a+b x)}{-b c+a d},\frac {f (a+b x)}{-b e+a f}\right )\right )}{3 (b c-a d)^3 \sqrt {a+b x} \sqrt {\frac {b (c+d x)}{b c-a d}}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(e + f*x)^n/((a + b*x)^(3/2)*Sqrt[c + d*x]),x]

[Out]

(2*Sqrt[c + d*x]*(e + f*x)^n*(-3*(b*c - a*d)^2*AppellF1[-1/2, -1/2, -n, 1/2, (d*(a + b*x))/(-(b*c) + a*d), (f*
(a + b*x))/(-(b*e) + a*f)] + 3*d*(-(b*c) + a*d)*(a + b*x)*AppellF1[1/2, -1/2, -n, 3/2, (d*(a + b*x))/(-(b*c) +
 a*d), (f*(a + b*x))/(-(b*e) + a*f)] + d^2*(a + b*x)^2*AppellF1[3/2, 1/2, -n, 5/2, (d*(a + b*x))/(-(b*c) + a*d
), (f*(a + b*x))/(-(b*e) + a*f)]))/(3*(b*c - a*d)^3*Sqrt[a + b*x]*Sqrt[(b*(c + d*x))/(b*c - a*d)]*((b*(e + f*x
))/(b*e - a*f))^n)

________________________________________________________________________________________

Maple [F]
time = 0.01, size = 0, normalized size = 0.00 \[\int \frac {\left (f x +e \right )^{n}}{\left (b x +a \right )^{\frac {3}{2}} \sqrt {d x +c}}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((f*x+e)^n/(b*x+a)^(3/2)/(d*x+c)^(1/2),x)

[Out]

int((f*x+e)^n/(b*x+a)^(3/2)/(d*x+c)^(1/2),x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((f*x+e)^n/(b*x+a)^(3/2)/(d*x+c)^(1/2),x, algorithm="maxima")

[Out]

integrate((f*x + e)^n/((b*x + a)^(3/2)*sqrt(d*x + c)), x)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((f*x+e)^n/(b*x+a)^(3/2)/(d*x+c)^(1/2),x, algorithm="fricas")

[Out]

integral(sqrt(b*x + a)*sqrt(d*x + c)*(f*x + e)^n/(b^2*d*x^3 + a^2*c + (b^2*c + 2*a*b*d)*x^2 + (2*a*b*c + a^2*d
)*x), x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (e + f x\right )^{n}}{\left (a + b x\right )^{\frac {3}{2}} \sqrt {c + d x}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((f*x+e)**n/(b*x+a)**(3/2)/(d*x+c)**(1/2),x)

[Out]

Integral((e + f*x)**n/((a + b*x)**(3/2)*sqrt(c + d*x)), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((f*x+e)^n/(b*x+a)^(3/2)/(d*x+c)^(1/2),x, algorithm="giac")

[Out]

integrate((f*x + e)^n/((b*x + a)^(3/2)*sqrt(d*x + c)), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (e+f\,x\right )}^n}{{\left (a+b\,x\right )}^{3/2}\,\sqrt {c+d\,x}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((e + f*x)^n/((a + b*x)^(3/2)*(c + d*x)^(1/2)),x)

[Out]

int((e + f*x)^n/((a + b*x)^(3/2)*(c + d*x)^(1/2)), x)

________________________________________________________________________________________